package com.oa.ylms.apps.business.archives;

import java.util.List;

import com.oa.ylms.apps.entity.archives.StaffInfoValue;

public interface IStaffInfoService {
	
	public List<StaffInfoValue> queryStaffInfoBySectionId(int sectionId)throws Exception;

	public List<StaffInfoValue> queryStaffInfoWithPage(String staffNo,Integer postId,String staffName, Integer states, int rows, int pageNo) throws Exception;
	
	public StaffInfoValue queryByStaffId(int staffId) throws Exception;
	
	public StaffInfoValue verifyStaffInfo(String staffNo, String staffPwd) throws Exception;

	public boolean deleteStaffInfo(String staffIds,StaffInfoValue handleStaffInfo) throws Exception;

	public boolean modifyStaffInfo(int staffId, String staffNo) throws Exception;
	
	public boolean modifyStaffPwd(int staffId, String staffPwd) throws Exception;

	public int addStaffInfo(int archiveId, String staffNo, String staffPwd) throws Exception;
	
	public boolean toDisable(int staffId,StaffInfoValue handleStaffInfo) throws Exception;
	
	public boolean toEnable(int staffId,StaffInfoValue handleStaffInfo) throws Exception;
	
	public int countTPage(String staffNo,Integer postId,String staffName, Integer states, int rows) throws Exception;
	
	public int getTotalNumber();
}
